import request from '@/utils/request'

// 查询订单款项列表
export function listT_order_stage(query) {
  return request({
    url: '/backend/t_order_stage/list',
    method: 'get',
    params: query
  })
}

// 查询订单款项详细
export function getT_order_stage(id) {
  return request({
    url: '/backend/t_order_stage/' + id,
    method: 'get'
  })
}

// 新增订单款项
export function addT_order_stage(data) {
  return request({
    url: '/backend/t_order_stage',
    method: 'post',
    data: data
  })
}

// 修改订单款项
export function updateT_order_stage(data) {
  return request({
    url: '/backend/t_order_stage',
    method: 'put',
    data: data
  })
}

// 删除订单款项
export function delT_order_stage(id) {
  return request({
    url: '/backend/t_order_stage/' + id,
    method: 'delete'
  })
}
